package person;

import java.util.Calendar;


public abstract class User extends Person{
	public User(long id, String name, String surname, String taxCode, String residence, String phoneNumber, String fax, String email) {
		super(id, name, surname, taxCode, residence, phoneNumber, fax, email);
	}
	public User(long id, Person person) {
		super(id, person.getName(), person.getSurname(), person.getTaxCode(), person.getAddress(), person.getPhoneNumber(), person.getFax(), person.getEmail(),person.getBirthDate());
	}	
	public User(String name, String surname, String taxCode, String residence, String phoneNumber, String fax, String email,Calendar birthDate) {
		super(name, surname, taxCode, residence, phoneNumber, fax, email,birthDate);
	}
	public User(Person person) {
		super(person.getId(), person.getName(), person.getSurname(), person.getTaxCode(), person.getAddress(), person.getPhoneNumber(), person.getFax(), person.getEmail(),person.getBirthDate());
	}
}
